<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head th:replace="demo/layout/head :: head(~{:: title}, ~{:: link})">
    <title>演示页面布局</title>
    <link rel="stylesheet" th:href="@{/css/index.css}">
    <link rel="stylesheet" th:href="@{/cs/test.css}">
</head>
<body>
    <div>
        <div th:replace="demo/layout/header :: header">头部</div>
        <div>
            <div style="float: left; width: 200px" th:insert="demo/layout/left :: left">左边</div>
            <div style="float: right; width: 1200px" layout:fragment="content">中间</div>
        </div>
        <div style="clear: both; float: bottom;" th:insert="demo/layout/footer :: copyright">底部</div>
    </div>
</body>
</html>